package com.xinqi.modules.sys.log.dto.rsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 操作日志记录-响应对象
 *
 * @author: yyzhen
 * @date: 2023/08/23
 */
@Data
@Schema(description = "操作日志记录-响应对象")
public class OperatorLogResultDTO implements Serializable {
    /**
     * 日志主键
     */
    @Schema(description = "日志主键", example = "")
    private Long id;
    /**
     * 模块标题
     */
    @Schema(description = "模块标题", example = "")
    private String title;
    /**
     * 业务类型
     */
    @Schema(description = "业务类型", example = "")
    private String businessType;
    /**
     * 方法名称
     */
    @Schema(description = "方法名称", example = "")
    private String method;
    /**
     * 请求方式
     */
    @Schema(description = "请求方式", example = "")
    private String requestMethod;
    /**
     * 操作类别
     */
    @Schema(description = "操作类别", example = "")
    private String operatorType;
    /**
     * 操作人员
     */
    @Schema(description = "操作人员", example = "")
    private Long operatorId;
    /**
     * 操作人员
     */
    @Schema(description = "操作人员", example = "")
    private String operatorName;
    /**
     * 请求URL
     */
    @Schema(description = "请求URL", example = "")
    private String operatorUrl;
    /**
     * 主机地址
     */
    @Schema(description = "主机地址", example = "")
    private String operatorIp;
    /**
     * 操作地点
     */
    @Schema(description = "操作地点", example = "")
    private String operatorLocation;
    /**
     * 请求参数
     */
    @Schema(description = "请求参数", example = "")
    private String operatorParam;
    /**
     * 返回参数
     */
    @Schema(description = "返回参数", example = "")
    private String jsonResult;
    /**
     * 操作状态
     */
    @Schema(description = "操作状态", example = "")
    private String status;
    /**
     * 错误消息
     */
    @Schema(description = "错误消息", example = "")
    private String errorMsg;
    /**
     * 操作时间
     */
    @Schema(description = "操作时间", example = "")
    private LocalDateTime operatorTime;

}
